﻿using System.Collections.Generic;
using RBOSS.Business.Products;

namespace RBOSS.Business.ShoppingCarts
{
    public interface IShoppingCartSubsystem
    {
        void AddItemToCart(IProduct product,int quantity);
        void RemoveItemFromCart(int productId);
        void ClearItemFromCart();
        //void CheckOut(ICustomer customer);
        //void SaveCartToDataBase(ICustomer customer);
        List<IProduct> GetProducts();

        void SaveCartToDataBase();
        bool HasLogin();
        void RetrieveShoppingCart();
    }
}
